-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add standard and quad write functionality to flash model #426
Conversation
|
||
// Wait for all the fifo to be drained | ||
spi_wait_for_tx_empty(&spi_host); | ||
#ifndef TARGET_SIM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's wait for response also in simulation please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will only work in questa, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same problem, the function will never return.
I added the requested modifications. |
Add standard and quad write capabilities to the current verilog flash model. This allows write functions to be executed also on simulation.
This pull request also includes a write example application that was used during test phase of the newly added flash functionalities.